package com.qiaoba.module.system.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.qiaoba.common.database.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 字典类型
 *
 * @author ailanyin
 * @date 2023-09-09 17:26:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_dict_type")
public class SysDictType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId
    @Excel(name = "字典主键", width = 20)
    @Schema(description = "字典主键")
    private String dictId;

    @Excel(name = "字典名称", width = 20)
    @Schema(description = "字典名称")
    private String dictName;

    @Excel(name = "字典类型", width = 20)
    @Schema(description = "字典类型")
    private String dictType;

    @Excel(name = "状态", width = 20, replace = {"正常_1", "禁用_0"})
    @Schema(description = "状态 1正常0禁用")
    private String status;

}
